/*
 * Copyright 2014 JootMir Project
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 * Support: http://www.jootmir.org
 */
package org.jootmir.client.core;

import java.awt.Canvas;

import javax.swing.JFrame;

/**
 * 游戏运行的一些参数
 * <br>
 * 在初始化游戏界面时使用
 */
public class ApplicationConfig {

	/** 游戏界面宽度 */
	public int width = 800;
	/** 游戏界面高度 */
	public int height = 600;
	/** 每秒最大界面刷新次数 */
	public int fps = 60;
	/** 是否全屏 */
	public boolean fullscreen = false;
	/** 嵌入时父级画布 */
	public Canvas parent;
	/** 嵌入时父级窗口 */
	public JFrame window;
	
	// 以下是游戏的个性化信息
	/** 游戏标题 */
	public String title = "JootMir";
	/** 游戏图标16x16 */
	public String icon16Path = "resources/icon/Icon16.png";
	/** 游戏图标32x32 */
	public String icon32Path = "resources/icon/Icon32.png";
	/** 游戏图标128x128 */
	public String icon128Path = "resources/icon/Icon128.png";
}